<template>
    <section class="Pubinfo">
        <div class="service-items">
            <!-- <span>加载成功加载成功</span> -->
            <span>{{message}}</span>
        </div>
    </section>
</template>

<script>
    import { mixin_Coupon } from "@/mixins/coupon.js";
    export default {
        name: "Pubinfo",
        props: {},
        mixins: [mixin_Coupon],
        data() {
            return {
                paramsUrl: null,
                message: null,
                codeMsg: {
                    '1': '核销成功',
                    '2': '您没有核销权限，请到门店进行核销! ',
                    '3': '设置成功',
                    '4': '页面不存在'
                }
            };
        },
        mounted() {
            this.$nextTick(() => {
                this.message = this.codeMsg[this.$route.query.msg] || '';
            });
        },
        methods: {

        }
    };
</script>

<style lang="less" scoped>
    @import url("@/styles/pubinfo.less");
</style>
